<template>
   <div>
    <P>
        Home
    </P>
   </div>
</template>

<script setup>
// import { useRoute, useRouter } from 'vue-router';

const router = useRoute()

console.log(router);
</script>

<style scoped lang="scss">
div{
    p{
        color: red;
    }
}

</style>